package com.bzyd.spi;

/**
 * Created by Xianyue Dang on 2021/8/25
 */
public class DriverImplOracle implements Driver {

    //静态代码块再Class.forName()时会执行加载
    static {
        DriverManager.registerDriver();
    }

    @Override
    public void doSomething() {
        System.out.println("Oracle公司实现的驱动……");
    }
}
